img, media {
  max-width: 100%;
}

/* No files to import found in partials/components/**\/* */

/* popular products block */
.search-api-page-results .search-result,
.search-results .search-result,
.view-popular-products .view-content .views-row,
.view-recently-viewed-product .view-content .views-row {
    display: block;
    padding:10px;
    background: none;
    font-size: 16px;
}
.search-api-page-results .search-result .product-row-wrapper,
.search-results .search-result .product-views-row-wrapper,
.view-popular-products .view-content .views-row .product-views-row-wrapper,
.view-recently-viewed-product .view-content .views-row .product-views-row-wrapper {
    border: 2px solid #F5F5F5;
    width:100%;
    overflow: hidden;
}
.search-api-page-results .search-result:hover,
.search-results .search-result:hover,
.view-popular-products .view-content .views-row:hover,
.view-recently-viewed-product .view-content .views-row:hover {
    background: #F5F5F5;
}
.search-api-page-results .search-result .field-title,
.search-results .search-result .field-title,
.view-popular-products .view-content .views-row .views-field-title,
.view-recently-viewed-product .view-content .views-row .views-field-title {
    height:60px;
    text-align: center;
    background: white!important;
}

.view-popular-products .view-content {
    float:left;
    width:100%;
}

.search-api-page-results .search-result .field-product-photo,
.search-results .search-result .field-product-photo,
.view-popular-products .view-content .views-row .views-field-field-field-product-photo,
.view-recently-viewed-product .view-content .views-row .views-field-field-field-product-photo {
    height:255px;
    text-align: center;
    background: white!important;
}

.search-api-page-results .search-result .field-add-to-cart-form .form-item-quantity,
.search-results .search-result .field-add-to-cart-form .form-item-quantity,
.view-popular-products .view-content .views-row .views-field-add-to-cart-form .form-item-quantity {
    float:left;
    margin-right: 10px;
}
.search-api-page-results .search-result .field-add-to-cart-form .form-item-quantity input,
.search-results .search-result .field-add-to-cart-form .form-item-quantity input,
.view-popular-products .view-content .views-row .views-field-add-to-cart-form .form-item-quantity input{
    text-align: right;
}
.search-results .search-result .field-add-to-cart-form .form-submit,
.view-popular-products .view-content .views-row .views-field-add-to-cart-form .form-submit {
    float: left;
}
.search-api-page-results .search-result .field-add-to-cart-form,
.search-results .search-result .field-add-to-cart-form,
.view-popular-products .view-content .views-row .views-field-add-to-cart-form {
    float: right;
    clear:both;
    background: white!important;
    width:100%;
    height:47px;
}
.ajax-progress .throbber,
.view-popular-products .view-content .views-row .views-field-add-to-cart-form p,
.search-api-page-results .search-result .field-add-to-cart-form .commerce-add-to-cart p,
.search-results .search-result .field-add-to-cart-form .commerce-add-to-cart p {
    margin: 0;
    float: left;
}
.search-api-page-results .search-result .field-add-to-cart-form .commerce-add-to-cart,
.search-results .search-result .field-add-to-cart-form .commerce-add-to-cart,
.view-popular-products .view-content .views-row .views-field-add-to-cart-form .field-content{
    float: right;
    display: block;
    padding-right: 5px;
}

.search-api-page-results .search-result .field-product-price,
.search-results .search-result .field-product-price,
.view-popular-products .view-content .views-row .views-field-commerce-price {
    text-align: right;
    float: right;
    clear:both;
    padding-bottom: 5px;
    background: white!important;
    width:100%;
}

.search-api-page-results .search-result .field-product-price,
.search-results .search-result .field-product-price,
.view-popular-products .view-content .views-row .views-field-commerce-price .field-content {
    float: right;
    padding-right: 5px;
}


/* end popular products block */

/* site header */
@font-face {
    font-family: Xiomara; /* Гарнитура шрифта */
    src: url(../fonts/Xiomara.eot); /* Для IE5-8 */
    src: url(../fonts/Xiomara.svg); /* iOS */
    src: local(Xiomara), url(../fonts/Xiomara.ttf); /* Для остальных браузеров */
}

.site-logo {
    display: block;
    float: left;
    margin-right: 15px;

}

.site-name a{
    text-decoration: none;
}
.site-name span{
    font-family: Xiomara;
    color: red;

}

.l-branding {
    margin-bottom: 5px;
}

.l-region--header {
    float: right;
    font-size: 16px;
}
.ajax-register-links {
    list-style: none;
}
.ajax-register-links li {
    float:left;
    padding-right:25px;
}
.ajax-register-links li:last-child {
    padding-right:0;
}
#block-commerce-ajax-basket-link-commerce-ajax-basket-link,
#block-custom-stepug-stepug-user-links,
#block-ajax-register-ajax-register-block {
    float:right;
    width:100%;
    text-align: right;
}
#block-ajax-register-ajax-register-block ul{
    float:right;
}
#block-custom-stepug-stepug-user-links .block__content{
    margin: 1em 0 1em 1em;
}
.ajax-register-links-wrapper{
    overflow: hidden;
    float:right;
    clear:both;
    margin-bottom: 10px;
}
#modal-content form .form-item,
#modal-content form .form-actions {
    float: left;
}
/* end site header */

/* category block */
#block-menu-menu-categories {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}
#block-menu-menu-categories h2{
    font-size: 18px;
}
#block-menu-menu-categories ul {
    margin: 0.3em 0 0.3em 0.9em;
}
#block-menu-menu-categories > ul {
    padding: 0;
}

#block-menu-menu-categories ul ul{
    padding-left: 15px;
}

#block-menu-menu-categories ul li,
#block-menu-menu-categories ul ul li{
    margin-bottom: 5px;
}

#block-menu-menu-categories ul li.dhtml-folder.expanded {
    list-style-image: url("../images/menu-expanded.png") !important;
}
#block-menu-menu-categories ul li.dhtml-folder.collapsed {
    list-style-image: url("../images/menu-collapsed.png") !important;
}
/* end category block */

/* site navigation */
/*.l-region--navigation {
    overflow: hidden;
    background: #d9cfc5;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
    padding-top: 190px;
    background-image:  url("../images/head_image.jpg");
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100%;
}*/

/*body {
    background: url("../images/background.jpg") repeat;
}*/
.l-main {
    border-radius: 10px;
    padding: 10px!important;
}
.l-region--navigation {
    overflow: hidden;
    background: #ff622e;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
}
.l-region--navigation .menu a {
    text-decoration: none;
}
.l-region--navigation .menu a:hover {
    text-decoration: underline;
}
.l-content h1{
    margin-left: 10px;
}
.l-region--sidebar-first {
    background: #F5F5F5;
    padding:10px;
}
.l-content {
    background: white;
    padding:10px;
}
#block-system-main-menu ul li a {
    font-size: 18px;
    color:black;
}

.l-region--footer {
    background: #d9cfc5;
    border-radius: 15px;
    padding:10px;
}
.l-region--footer p {
    margin: 0;
}
/* end site navigation */

/* cart form */
.view-commerce-cart-form .views-table,
.view-commerce-cart-summary .views-table{
    width:100%;
    margin-bottom: 10px;
}

.view-commerce-cart-form .views-table .views-field-field-field-product-photo,
.view-commerce-cart-summary .views-table .views-field-field-field-product-photo {
    width:25%;
}
.view-commerce-cart-form .views-table .views-field-commerce-unit-price,
.view-commerce-cart-summary .views-table .views-field-commerce-unit-price{
    width:15%;
}
.view-commerce-cart-form .views-table .views-field-edit-quantity,
.view-commerce-cart-summary .views-table .views-field-edit-quantity{
    width:15%;
}
.view-commerce-cart-form .views-table .views-field-commerce-total,
.view-commerce-cart-summary .views-table .views-field-commerce-total {
    width:15%;
}

.view-commerce-cart-form .views-table thead tr,
.view-commerce-cart-summary .views-table thead tr {
    vertical-align: middle;
}
.view-commerce-cart-form .views-table thead th,
.view-commerce-cart-summary .views-table thead th {
    background-color: #f2f2f2;
    height: 50px;
    padding: 10px;
}
.view-commerce-cart-form .views-table thead th.views-field-commerce-unit-price,
.view-commerce-cart-form .views-table thead th.views-field-edit-quantity,
.view-commerce-cart-form .views-table thead th.views-field-commerce-total,
.view-commerce-cart-summary .views-table thead th.views-field-commerce-unit-price,
.view-commerce-cart-summary .views-table thead th.views-field-edit-quantity,
.view-commerce-cart-summary .views-table thead th.views-field-quantity,
.view-commerce-cart-summary .views-table thead th.views-field-commerce-total  {
    text-align: right;
    padding-right: 0;
}
.view-commerce-cart-form .views-table tbody tr,
.view-commerce-cart-summary .views-table tbody tr {
    border-bottom: 1px solid lightgray;
}
.view-commerce-cart-form .views-table tbody td,
.view-commerce-cart-summary .views-table tbody td {
    vertical-align: middle;
}

.view-commerce-cart-form .views-table tbody td.views-field-commerce-unit-price,
.view-commerce-cart-form .views-table tbody td.views-field-edit-quantity,
.view-commerce-cart-form .views-table tbody td.views-field-commerce-total,
.view-commerce-cart-summary .views-table tbody td.views-field-commerce-unit-price,
.view-commerce-cart-summary .views-table tbody td.views-field-edit-quantity,
.view-commerce-cart-summary .views-table tbody td.views-field-quantity,
.view-commerce-cart-summary .views-table tbody td.views-field-commerce-total {
    text-align: right;
}

.view-commerce-cart-form .views-table thead th.views-field-commerce-total,
.view-commerce-cart-form .views-table tbody td.views-field-commerce-total,
.view-commerce-cart-summary .views-table thead th.views-field-commerce-total,
.view-commerce-cart-summary .views-table tbody td.views-field-commerce-total {
    padding-right: 10px;
}
.view-commerce-cart-form .views-table tbody td.views-field-commerce-total {
    padding-top: 38px;
}
tr.odd,
tr.even {
    background: none!important;
}
/* end cart form */

/* checkout */
table.checkout-review {
    width: 100%;
}

.checkout-help {
    padding-left: 1em;
    margin-bottom: 10px;
}
fieldset.checkout-buttons {
    text-align: right;
    border:none;
}
/* end checkout */

/* user orders view */
.view-commerce-user-orders .views-table,
table.commerce-price-formatted-components,
.view-commerce-line-item-table .views-table {
    width:100%;
}
.view-commerce-user-orders .views-table th,
.view-commerce-user-orders .views-table td,
.view-commerce-line-item-table .views-table th,
.view-commerce-line-item-table .views-table td,
table.commerce-price-formatted-components td {
    background: none;
    padding:10px;
}
.view-commerce-user-orders .views-table tr:hover,
.view-commerce-line-item-table .views-table tr:hover{
    background: #f0f3f5;
}
.field--type-commerce-price {
    text-align: right
}
.field--name-commerce-customer-billing {
    padding-left: 10px;
}

/* end user orders view */
/* catalog */
.view-product-cataog .views-view-grid {
    width:100%;
}
.view-product-cataog .views-view-grid td {
    vertical-align: top;
    padding-bottom: 30px;
}
.view-product-cataog .views-view-grid td .views-field-name {
    height: 30px;
}
/* end catalog */

/* block-search-form */
#block-search-api-page-product-search {
    float:left;
}

#block-search-api-page-product-search .form-type-textfield {
    width:60%;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
}
#block-search-api-page-product-search input.form-submit {
    margin-left:2%;
    width:32%;
}
#block-search-api-page-product-search input.form-submit,
#block-search-api-page-product-search .form-type-textfield {
    font-size: 18px;
    display: block;
    float: left;
    margin: 10px 0 0 3px;
}
/* end block-search-form */

.commerce-checkout-form-checkout legend {
    width:auto;
}
.commerce-checkout-form-checkout .commerce-price-formatted-components {
    width:45%;
}

/* throbber */
.ajax-progress, .ajax-progress-throbber {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    vertical-align: middle;
    text-align: center;
}
.ajax-progress .throbber {
    position: relative;
    top: 48%;
    left: 48%;
    width: 64px; /* dimensions of the ajax-loader.gif */
    height: 64px;
    margin: auto;
    background:url(../images/ajax_loader_blue_64.gif) no-repeat;
    color: #000;
    z-index: 501;
}
/* end throbber */

.node--product-display--full .commerce-product-field-field-field-product-photo .field__item {
    text-align: center;
}
.node--product-display {
    font-size: 16px;
}
.node--product-display .commerce-product-field {
    margin: 5px auto;
}
.node--product-display .form-item-quantity {
    float: left;
    margin-right: 20px;
    margin-bottom: 0;
}
.node--product-display .form-item-quantity input {
    text-align: right;
}
.node--product-display .form-submit {
    font-size: 16px;
    clear: right;
}
a{
    outline: none!important;
}
.tabs a:visited,
.tabs a {
    color: black;
}

#block-system-main-menu .navbar-collapse {
    padding:0;
}
#block-system-main-menu .navbar-nav {
    margin:0!important;
}
#block-system-main-menu .navbar-default {
    background: #ff622e!important;
    margin-bottom: 0;
}
.navbar-brand, .navbar-nav > li > a {
    color: black!important;
}
@media all and (max-width: 768px) {
    #block-system-main-menu .navbar-collapse li.search-block-item {
        float:left;
    }
}
@media all and (min-width: 769px) {
    #block-system-main-menu .navbar-collapse li.search-block-item {
        float:right;
    }
}
@media all and (max-width: 968px) {
    .node--product-display .group-left,
    .node--product-display .group-right {
        width:100%;
    }
}

#block-views-recently-viewed-product-block-1 {
    margin-top:50px;
}

.base-price,
.discount-price {
    float: left;
}
.discount-price {
    color: red;
    margin-left: 5px;
}
.discount-info {
    color: white;
    font-weight: bold;
    margin-top: -335px;
    position: relative;
    background: url(../images/price_background.jpg) no-repeat;
    width: 55px;
    height: 55px;
    padding-top: 15px;
    background-size: contain;
    float: right;
    text-align: center;
}

.views-field-commerce-price .field-content {
    margin-left: 20px;
}